package com.example.study.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @description：
 * @author: liqiancheng
 * @createTime: 2021/8/18 15:45
 **/
@Configuration
public class RestConfiguration {

    @Bean
    public RestTemplate getTemplate() {
        return new RestTemplate();
    }
}
